#!/bin/sh

#DIR=$(basename $(pwd))
DIR=trunk
pushd .. > /dev/null
        svn export http://bookmarklet-server.googlecode.com/svn/$DIR/ bookmarklet-server-demo
        svn export http://pwdhash-bookmarklet.googlecode.com/svn/$DIR/ bookmarklet-server-demo/bookmarklets/pwdhash
        tar czf bookmarklet-server-demo-${DIR}.tar.gz bookmarklet-server-demo
        rm -R bookmarklet-server-demo
popd > /dev/null
